package cn.hinglo.gameclaw.im.bean;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @createTime: 2018/3/6
 * @author: HingLo
 * @description: 房间信息
 */
@Data
@Entity
@Table(name = "live_room")
public class LiveRoom implements Serializable {
    /**
     * 直播频道id
     */
    @Id
    @Column(name = "id")
    private String cid;

    /**
     * 推流地址1
     */
    private String pushUrl;

    /**
     * rtmp拉流地址1
     */
    private String rtmpPullUrl;

    /**
     * http拉流地址1
     */
    private String httpPullUrl;

    /**
     * hls拉流地址1
     */
    private String hlsPullUrl;
    /**
     * 频道状态（0：空闲； 1：直播； 2：禁用； 3：直播录制）
     */
    @Transient
    private Integer status;

}
